# build in python 3.5.2
# 作者：陈常鸿
# 线性分类
import numpy as np
import matplotlib.pyplot as plt
import sklearn.datasets as d
cls_data=d.make_classification(100,2,2,0,0,2)
print(cls_data[0])
print(cls_data[1])
plt.plot(cls_data[0],cls_data[0])
plt.show()